package Mirror;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;

public class TestDailyMirror {

	private InternetExplorerDriver driver;

	DailyMirrorHomePage dailyMirrorHomePage;
	Euro2012 euro2012;
	
	@Before
	public void setupSelenium() {
		driver = new InternetExplorerDriver();
	}

	@After
	public void closeSelenium() {
		driver.close();
		driver.quit();
	}
	
	@Test
	public void testDailyMirror(){
		
		dailyMirrorHomePage=new DailyMirrorHomePage(driver);
		euro2012=dailyMirrorHomePage.clickHotTopicLink();
		euro2012.getAssertValue();
	}
	
}
